import request from '@/utils/request'

export function listInfo3(query) {
    return request({
      url: "http://localhost:8080/Pp/listInfo3",
      method: "get",
      data: query
    });
  }
  
  
  
  
  /**
   *
   * @param {*} ins_id
   * @returns 删除
   */
  export function delInfo3(preId) {
    return request({
      url: 'http://localhost:8080/Pp/delInfo3/',
      method: 'post',
      params: { "preId": preId }
    })
  }
  
  
  /**
   * 单查
   */
  export function selectByIdInfo3(preId) {
    return request({
      url: "http://localhost:8080/Pp/selectByIdInfo3/",
      method: "get",
      params: { "preId": preId }
    });
  }
  
  
  /**
   *
   * @param {*} data
   * @returns 添加
   */
  export function addInfo3(data) {
    return request({
      url: "http://localhost:8080/Pp/addInfo3",
      method: "post",
      data: data
    });
  }
  
  
  /**
   *
   * @param {*} data
   * @returns 修改
   */
  export function updateInfo3(data) {
    return request({
      url: "http://localhost:8080/Pp/updateInfo3",
      method: "post",
      data: data
    });
}